package com.springcloudalibaba.apiPay.event;

import com.springcloudalibaba.apiPay.configurer.properties.AdvancePaymentProperties;
import org.springframework.context.ApplicationEvent;

/**
 * @描述: 异步添加预支付记录
 * @作者: lixing
 * @日期 2020/4/26 21:18
 */
public class PayEvent extends ApplicationEvent {
    private AdvancePaymentProperties advancePaymentProperties;
    public AdvancePaymentProperties getAdvancePaymentProperties() {
        return advancePaymentProperties;
    }

    public PayEvent(Object source, AdvancePaymentProperties advancePaymentProperties) {
        super(source);
        this.advancePaymentProperties = advancePaymentProperties;
    }
}
